package com.nz2004.controller;

import com.nz2004.entity.MyMsg;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TestPath {
    @RequestMapping("/user")
    @ResponseBody
    public MyMsg testPath(){
        System.out.println("hahahah");
        return new MyMsg<>();
    }
}
